<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">

	<title>Interface ManaPHP\Http\RequestInterface</title>

	<link rel="stylesheet" href="resources/bootstrap.min.css?973e37a8502921d56bc02bb55321f45b072b6f71">
	<link rel="stylesheet" href="resources/style.css?70c1d062672daa3f906b72e4f5d03d4bc5c4174d">

</head>

<body>
	<nav id="navigation" class="navbar navbar-default navbar-fixed-top">
		<div class="container-fluid">
			<div class="navbar-header">
				<a href="index.html" class="navbar-brand">Overview</a>
			</div>
			<div class="collapse navbar-collapse">

                <form id="search" class="navbar-form navbar-left" role="search">
                    <input type="hidden" name="cx" value="">
                    <input type="hidden" name="ie" value="UTF-8">
                    <div class="form-group">
                        <input type="text" name="q" class="search-query form-control" placeholder="Search">
					</div>
				</form>

				<ul class="nav navbar-nav">
					<li>
						<a href="namespace-ManaPHP.Http.html" title="Summary of ManaPHP\Http"><span>Namespace</span></a>
					</li>
					<li class="active">
<span>Class</span>					</li>





				</ul>
			</div>
		</div>
	</nav>

	<div id="left">
	<div id="menu">

		<div id="groups">
				<h3>Namespaces</h3>
			<ul>
					<li class="active">
						<a href="namespace-ManaPHP.html">
							ManaPHP<span></span>
						</a>
							<ul>
					<li>
						<a href="namespace-ManaPHP.Alias.html">
							Alias						</a>
							</li>
					<li>
						<a href="namespace-ManaPHP.Authentication.html">
							Authentication<span></span>
						</a>
							<ul>
					<li>
						<a href="namespace-ManaPHP.Authentication.Token.html">
							Token<span></span>
						</a>
							<ul>
					<li>
						<a href="namespace-ManaPHP.Authentication.Token.Adapter.html">
							Adapter<span></span>
						</a>
							<ul>
					<li>
						<a href="namespace-ManaPHP.Authentication.Token.Adapter.Mwt.html">
							Mwt						</a>
							</li>
								</ul></li></ul></li></ul></li>
					<li>
						<a href="namespace-ManaPHP.Authorization.html">
							Authorization<span></span>
						</a>
							<ul>
					<li>
						<a href="namespace-ManaPHP.Authorization.Rbac.html">
							Rbac<span></span>
						</a>
							<ul>
					<li>
						<a href="namespace-ManaPHP.Authorization.Rbac.Models.html">
							Models						</a>
							</li>
					<li>
						<a href="namespace-ManaPHP.Authorization.Rbac.PermissionBuilder.html">
							PermissionBuilder						</a>
							</li>
								</ul></li></ul></li>
					<li>
						<a href="namespace-ManaPHP.Cache.html">
							Cache<span></span>
						</a>
							<ul>
					<li>
						<a href="namespace-ManaPHP.Cache.Adapter.html">
							Adapter<span></span>
						</a>
							<ul>
					<li>
						<a href="namespace-ManaPHP.Cache.Adapter.Apc.html">
							Apc						</a>
							</li>
					<li>
						<a href="namespace-ManaPHP.Cache.Adapter.Db.html">
							Db						</a>
							</li>
					<li>
						<a href="namespace-ManaPHP.Cache.Adapter.File.html">
							File						</a>
							</li>
								</ul></li></ul></li>
					<li>
						<a href="namespace-ManaPHP.Cli.html">
							Cli<span></span>
						</a>
							<ul>
					<li>
						<a href="namespace-ManaPHP.Cli.Application.html">
							Application						</a>
							</li>
					<li>
						<a href="namespace-ManaPHP.Cli.Arguments.html">
							Arguments						</a>
							</li>
					<li>
						<a href="namespace-ManaPHP.Cli.Controllers.html">
							Controllers						</a>
							</li>
								</ul></li>
					<li>
						<a href="namespace-ManaPHP.Component.html">
							Component						</a>
							</li>
					<li>
						<a href="namespace-ManaPHP.Configure.html">
							Configure<span></span>
						</a>
							<ul>
					<li>
						<a href="namespace-ManaPHP.Configure.Engine.html">
							Engine<span></span>
						</a>
							<ul>
					<li>
						<a href="namespace-ManaPHP.Configure.Engine.Ini.html">
							Ini						</a>
							</li>
					<li>
						<a href="namespace-ManaPHP.Configure.Engine.Json.html">
							Json						</a>
							</li>
								</ul></li></ul></li>
					<li>
						<a href="namespace-ManaPHP.Counter.html">
							Counter<span></span>
						</a>
							<ul>
					<li>
						<a href="namespace-ManaPHP.Counter.Adapter.html">
							Adapter<span></span>
						</a>
							<ul>
					<li>
						<a href="namespace-ManaPHP.Counter.Adapter.Db.html">
							Db						</a>
							</li>
								</ul></li></ul></li>
					<li>
						<a href="namespace-ManaPHP.Db.html">
							Db<span></span>
						</a>
							<ul>
					<li>
						<a href="namespace-ManaPHP.Db.Adapter.html">
							Adapter<span></span>
						</a>
							<ul>
					<li>
						<a href="namespace-ManaPHP.Db.Adapter.Sqlite.html">
							Sqlite						</a>
							</li>
								</ul></li></ul></li>
					<li>
						<a href="namespace-ManaPHP.Debugger.html">
							Debugger						</a>
							</li>
					<li>
						<a href="namespace-ManaPHP.Di.html">
							Di						</a>
							</li>
					<li>
						<a href="namespace-ManaPHP.Event.html">
							Event<span></span>
						</a>
							<ul>
					<li>
						<a href="namespace-ManaPHP.Event.Manager.html">
							Manager						</a>
							</li>
								</ul></li>
					<li>
						<a href="namespace-ManaPHP.Facade.html">
							Facade						</a>
							</li>
					<li>
						<a href="namespace-ManaPHP.Filesystem.html">
							Filesystem<span></span>
						</a>
							<ul>
					<li>
						<a href="namespace-ManaPHP.Filesystem.Adapter.html">
							Adapter<span></span>
						</a>
							<ul>
					<li>
						<a href="namespace-ManaPHP.Filesystem.Adapter.File.html">
							File						</a>
							</li>
								</ul></li></ul></li>
					<li class="active">
						<a href="namespace-ManaPHP.Http.html">
							Http<span></span>
						</a>
							<ul>
					<li>
						<a href="namespace-ManaPHP.Http.Client.html">
							Client						</a>
							</li>
					<li>
						<a href="namespace-ManaPHP.Http.Cookies.html">
							Cookies						</a>
							</li>
					<li>
						<a href="namespace-ManaPHP.Http.Filter.html">
							Filter						</a>
							</li>
					<li>
						<a href="namespace-ManaPHP.Http.Request.html">
							Request<span></span>
						</a>
							<ul>
					<li>
						<a href="namespace-ManaPHP.Http.Request.File.html">
							File						</a>
							</li>
								</ul></li>
					<li>
						<a href="namespace-ManaPHP.Http.Response.html">
							Response						</a>
							</li>
					<li>
						<a href="namespace-ManaPHP.Http.Session.html">
							Session<span></span>
						</a>
							<ul>
					<li>
						<a href="namespace-ManaPHP.Http.Session.Adapter.html">
							Adapter<span></span>
						</a>
							<ul>
					<li>
						<a href="namespace-ManaPHP.Http.Session.Adapter.Db.html">
							Db						</a>
							</li>
								</ul></li></ul></li></ul></li>
					<li>
						<a href="namespace-ManaPHP.I18n.html">
							I18n						</a>
							</li>
					<li>
						<a href="namespace-ManaPHP.Image.html">
							Image<span></span>
						</a>
							<ul>
					<li>
						<a href="namespace-ManaPHP.Image.Adapter.html">
							Adapter<span></span>
						</a>
							<ul>
					<li>
						<a href="namespace-ManaPHP.Image.Adapter.Gd.html">
							Gd						</a>
							</li>
					<li>
						<a href="namespace-ManaPHP.Image.Adapter.Imagick.html">
							Imagick						</a>
							</li>
								</ul></li></ul></li>
					<li>
						<a href="namespace-ManaPHP.Loader.html">
							Loader						</a>
							</li>
					<li>
						<a href="namespace-ManaPHP.Logger.html">
							Logger<span></span>
						</a>
							<ul>
					<li>
						<a href="namespace-ManaPHP.Logger.Adapter.html">
							Adapter<span></span>
						</a>
							<ul>
					<li>
						<a href="namespace-ManaPHP.Logger.Adapter.Db.html">
							Db						</a>
							</li>
								</ul></li></ul></li>
					<li>
						<a href="namespace-ManaPHP.Message.html">
							Message<span></span>
						</a>
							<ul>
					<li>
						<a href="namespace-ManaPHP.Message.Queue.html">
							Queue<span></span>
						</a>
							<ul>
					<li>
						<a href="namespace-ManaPHP.Message.Queue.Adapter.html">
							Adapter<span></span>
						</a>
							<ul>
					<li>
						<a href="namespace-ManaPHP.Message.Queue.Adapter.Db.html">
							Db						</a>
							</li>
					<li>
						<a href="namespace-ManaPHP.Message.Queue.Adapter.Redis.html">
							Redis						</a>
							</li>
								</ul></li></ul></li></ul></li>
					<li>
						<a href="namespace-ManaPHP.Meter.html">
							Meter<span></span>
						</a>
							<ul>
					<li>
						<a href="namespace-ManaPHP.Meter.Linear.html">
							Linear						</a>
							</li>
					<li>
						<a href="namespace-ManaPHP.Meter.Round.html">
							Round						</a>
							</li>
								</ul></li>
					<li>
						<a href="namespace-ManaPHP.Mvc.html">
							Mvc<span></span>
						</a>
							<ul>
					<li>
						<a href="namespace-ManaPHP.Mvc.Application.html">
							Application						</a>
							</li>
					<li>
						<a href="namespace-ManaPHP.Mvc.Dispatcher.html">
							Dispatcher						</a>
							</li>
					<li>
						<a href="namespace-ManaPHP.Mvc.Model.html">
							Model<span></span>
						</a>
							<ul>
					<li>
						<a href="namespace-ManaPHP.Mvc.Model.Manager.html">
							Manager						</a>
							</li>
					<li>
						<a href="namespace-ManaPHP.Mvc.Model.Metadata.html">
							Metadata<span></span>
						</a>
							<ul>
					<li>
						<a href="namespace-ManaPHP.Mvc.Model.Metadata.Adapter.html">
							Adapter<span></span>
						</a>
							<ul>
					<li>
						<a href="namespace-ManaPHP.Mvc.Model.Metadata.Adapter.Apc.html">
							Apc						</a>
							</li>
								</ul></li></ul></li>
					<li>
						<a href="namespace-ManaPHP.Mvc.Model.QueryBuilder.html">
							QueryBuilder						</a>
							</li>
								</ul></li>
					<li>
						<a href="namespace-ManaPHP.Mvc.Router.html">
							Router<span></span>
						</a>
							<ul>
					<li>
						<a href="namespace-ManaPHP.Mvc.Router.RewriteChecker.html">
							RewriteChecker						</a>
							</li>
					<li>
						<a href="namespace-ManaPHP.Mvc.Router.Route.html">
							Route						</a>
							</li>
								</ul></li>
					<li>
						<a href="namespace-ManaPHP.Mvc.Url.html">
							Url						</a>
							</li>
					<li>
						<a href="namespace-ManaPHP.Mvc.User.html">
							User						</a>
							</li>
					<li>
						<a href="namespace-ManaPHP.Mvc.View.html">
							View<span></span>
						</a>
							<ul>
					<li>
						<a href="namespace-ManaPHP.Mvc.View.Flash.html">
							Flash<span></span>
						</a>
							<ul>
					<li>
						<a href="namespace-ManaPHP.Mvc.View.Flash.Adapter.html">
							Adapter						</a>
							</li>
								</ul></li></ul></li></ul></li>
					<li>
						<a href="namespace-ManaPHP.Paginator.html">
							Paginator						</a>
							</li>
					<li>
						<a href="namespace-ManaPHP.Renderer.html">
							Renderer<span></span>
						</a>
							<ul>
					<li>
						<a href="namespace-ManaPHP.Renderer.Engine.html">
							Engine<span></span>
						</a>
							<ul>
					<li>
						<a href="namespace-ManaPHP.Renderer.Engine.Php.html">
							Php						</a>
							</li>
					<li>
						<a href="namespace-ManaPHP.Renderer.Engine.Sword.html">
							Sword						</a>
							</li>
								</ul></li></ul></li>
					<li>
						<a href="namespace-ManaPHP.Security.html">
							Security<span></span>
						</a>
							<ul>
					<li>
						<a href="namespace-ManaPHP.Security.Captcha.html">
							Captcha						</a>
							</li>
					<li>
						<a href="namespace-ManaPHP.Security.Crypt.html">
							Crypt						</a>
							</li>
					<li>
						<a href="namespace-ManaPHP.Security.CsrfToken.html">
							CsrfToken						</a>
							</li>
					<li>
						<a href="namespace-ManaPHP.Security.RateLimiter.html">
							RateLimiter<span></span>
						</a>
							<ul>
					<li>
						<a href="namespace-ManaPHP.Security.RateLimiter.Adapter.html">
							Adapter<span></span>
						</a>
							<ul>
					<li>
						<a href="namespace-ManaPHP.Security.RateLimiter.Adapter.Db.html">
							Db						</a>
							</li>
								</ul></li></ul></li></ul></li>
					<li>
						<a href="namespace-ManaPHP.Serializer.html">
							Serializer<span></span>
						</a>
							<ul>
					<li>
						<a href="namespace-ManaPHP.Serializer.Adapter.html">
							Adapter<span></span>
						</a>
							<ul>
					<li>
						<a href="namespace-ManaPHP.Serializer.Adapter.Json.html">
							Json						</a>
							</li>
					<li>
						<a href="namespace-ManaPHP.Serializer.Adapter.JsonPhp.html">
							JsonPhp						</a>
							</li>
					<li>
						<a href="namespace-ManaPHP.Serializer.Adapter.Php.html">
							Php						</a>
							</li>
					<li>
						<a href="namespace-ManaPHP.Serializer.Adapter.StringType.html">
							StringType						</a>
							</li>
								</ul></li></ul></li>
					<li>
						<a href="namespace-ManaPHP.Store.html">
							Store<span></span>
						</a>
							<ul>
					<li>
						<a href="namespace-ManaPHP.Store.Adapter.html">
							Adapter<span></span>
						</a>
							<ul>
					<li>
						<a href="namespace-ManaPHP.Store.Adapter.Db.html">
							Db						</a>
							</li>
					<li>
						<a href="namespace-ManaPHP.Store.Adapter.File.html">
							File						</a>
							</li>
								</ul></li></ul></li>
					<li>
						<a href="namespace-ManaPHP.Task.html">
							Task<span></span>
						</a>
							<ul>
					<li>
						<a href="namespace-ManaPHP.Task.Metadata.html">
							Metadata<span></span>
						</a>
							<ul>
					<li>
						<a href="namespace-ManaPHP.Task.Metadata.Adapter.html">
							Adapter<span></span>
						</a>
							<ul>
					<li>
						<a href="namespace-ManaPHP.Task.Metadata.Adapter.Apc.html">
							Apc						</a>
							</li>
					<li>
						<a href="namespace-ManaPHP.Task.Metadata.Adapter.Db.html">
							Db						</a>
							</li>
					<li>
						<a href="namespace-ManaPHP.Task.Metadata.Adapter.Redis.html">
							Redis						</a>
							</li>
								</ul></li></ul></li></ul></li>
					<li>
						<a href="namespace-ManaPHP.Text.html">
							Text						</a>
							</li>
					<li>
						<a href="namespace-ManaPHP.Utility.html">
							Utility						</a>
							</li>
								</ul></li>
			</ul>
		</div>


		<div id="elements">
			<h3>Classes</h3>
			<ul>
				<li><a href="class-ManaPHP.Http.Client.html">Client</a></li>
				<li><a href="class-ManaPHP.Http.Cookies.html">Cookies</a></li>
				<li><a href="class-ManaPHP.Http.Filter.html">Filter</a></li>
				<li><a href="class-ManaPHP.Http.Request.html">Request</a></li>
				<li><a href="class-ManaPHP.Http.Response.html">Response</a></li>
				<li><a href="class-ManaPHP.Http.Session.html">Session</a></li>
			</ul>

			<h3>Interfaces</h3>
			<ul>
				<li><a href="class-ManaPHP.Http.ClientInterface.html">ClientInterface</a></li>
				<li><a href="class-ManaPHP.Http.CookiesInterface.html">CookiesInterface</a></li>
				<li><a href="class-ManaPHP.Http.FilterInterface.html">FilterInterface</a></li>
				<li class="active"><a href="class-ManaPHP.Http.RequestInterface.html">RequestInterface</a></li>
				<li><a href="class-ManaPHP.Http.ResponseInterface.html">ResponseInterface</a></li>
				<li><a href="class-ManaPHP.Http.SessionInterface.html">SessionInterface</a></li>
			</ul>


			<h3>Exceptions</h3>
			<ul>
				<li><a href="class-ManaPHP.Http.Exception.html">Exception</a></li>
			</ul>


		</div>
	</div>
</div>

<div id="splitter"></div>

<div id="right">
	<div id="rightInner">
<div id="content" class="class">
	<h1>Interface RequestInterface</h1>


	<div class="description">
	<p>Interface ManaPHP\Http\RequestInterface</p>
	</div>





	<div>
		<h3>Direct known implementers</h3>
		<p class="elementList">
			<code><a href="class-ManaPHP.Http.Request.html">ManaPHP\Http\Request</a></code>
		</p>
	</div>




	<div class="alert alert-info">
		
		
		<b>Namespace:</b> <a href="namespace-ManaPHP.html">ManaPHP</a>\<a href="namespace-ManaPHP.Http.html">Http</a><br>
		<b>Package:</b> request<br>

			<b>Located at</b> <a href="source-class-ManaPHP.Http.RequestInterface.html#5-296" title="Go to source code">Http/RequestInterface.php</a>
		<br>
	</div>



		<div class="panel panel-default">
			<div class="panel-heading"><h2>Methods summary</h2></div>
			<table class="summary table table-bordered table-striped methods" id="methods">
		<tr data-order="get" id="_get">

			<td class="attributes"><code>
				 public 
				mixed
				
				</code>
			</td>

			<td class="name"><div>
			<a class="anchor" href="#_get">#</a>
			<code><a href="source-class-ManaPHP.Http.RequestInterface.html#12-21" title="Go to source code">get</a>( <span>string <var>$name</var> = <span class="php-keyword1">null</span></span>, <span>string <var>$rule</var> = <span class="php-keyword1">null</span></span>, <span>mixed <var>$defaultValue</var> = <span class="php-keyword1">null</span></span> )</code>

			<div class="description short">
				<p>Gets a variable from the $_REQUEST applying filters if needed</p>
			</div>

			<div class="description detailed hidden">
				<p>Gets a variable from the $_REQUEST applying filters if needed</p>


					<h4>Parameters</h4>
					<div class="list"><dl>
						<dt><var>$name</var></dt>
						<dd></dd>
						<dt><var>$rule</var></dt>
						<dd></dd>
						<dt><var>$defaultValue</var></dt>
						<dd></dd>
					</dl></div>

					<h4>Returns</h4>
					<div class="list">
						mixed
					</div>




			</div>
			</div></td>
		</tr>
		<tr data-order="getGet" id="_getGet">

			<td class="attributes"><code>
				 public 
				mixed
				
				</code>
			</td>

			<td class="name"><div>
			<a class="anchor" href="#_getGet">#</a>
			<code><a href="source-class-ManaPHP.Http.RequestInterface.html#23-32" title="Go to source code">getGet</a>( <span>string <var>$name</var> = <span class="php-keyword1">null</span></span>, <span>string <var>$rule</var> = <span class="php-keyword1">null</span></span>, <span>mixed <var>$defaultValue</var> = <span class="php-keyword1">null</span></span> )</code>

			<div class="description short">
				<p>Gets variable from $_GET applying filters if needed</p>
			</div>

			<div class="description detailed hidden">
				<p>Gets variable from $_GET applying filters if needed</p>


					<h4>Parameters</h4>
					<div class="list"><dl>
						<dt><var>$name</var></dt>
						<dd></dd>
						<dt><var>$rule</var></dt>
						<dd></dd>
						<dt><var>$defaultValue</var></dt>
						<dd></dd>
					</dl></div>

					<h4>Returns</h4>
					<div class="list">
						mixed
					</div>




			</div>
			</div></td>
		</tr>
		<tr data-order="getPost" id="_getPost">

			<td class="attributes"><code>
				 public 
				mixed
				
				</code>
			</td>

			<td class="name"><div>
			<a class="anchor" href="#_getPost">#</a>
			<code><a href="source-class-ManaPHP.Http.RequestInterface.html#34-43" title="Go to source code">getPost</a>( <span>string <var>$name</var> = <span class="php-keyword1">null</span></span>, <span>string <var>$rule</var> = <span class="php-keyword1">null</span></span>, <span>mixed <var>$defaultValue</var> = <span class="php-keyword1">null</span></span> )</code>

			<div class="description short">
				<p>Gets a variable from the $_POST applying filters if needed</p>
			</div>

			<div class="description detailed hidden">
				<p>Gets a variable from the $_POST applying filters if needed</p>


					<h4>Parameters</h4>
					<div class="list"><dl>
						<dt><var>$name</var></dt>
						<dd></dd>
						<dt><var>$rule</var></dt>
						<dd></dd>
						<dt><var>$defaultValue</var></dt>
						<dd></dd>
					</dl></div>

					<h4>Returns</h4>
					<div class="list">
						mixed
					</div>




			</div>
			</div></td>
		</tr>
		<tr data-order="getPut" id="_getPut">

			<td class="attributes"><code>
				 public 
				mixed
				
				</code>
			</td>

			<td class="name"><div>
			<a class="anchor" href="#_getPut">#</a>
			<code><a href="source-class-ManaPHP.Http.RequestInterface.html#45-60" title="Go to source code">getPut</a>( <span>string <var>$name</var> = <span class="php-keyword1">null</span></span>, <span>string <var>$rule</var> = <span class="php-keyword1">null</span></span>, <span>mixed <var>$defaultValue</var> = <span class="php-keyword1">null</span></span> )</code>

			<div class="description short">
				<p>Gets a variable from put request</p>
			</div>

			<div class="description detailed hidden">
				<p>Gets a variable from put request</p>

<pre><span class="php-var">$userEmail</span> = <span class="php-var">$request</span>-&gt;getPut(<span class="php-quote">&quot;user_email&quot;</span>);

   <span class="php-var">$userEmail</span> = <span class="php-var">$request</span>-&gt;getPut(<span class="php-quote">&quot;user_email&quot;</span>, <span class="php-quote">&quot;email&quot;</span>);</pre>


					<h4>Parameters</h4>
					<div class="list"><dl>
						<dt><var>$name</var></dt>
						<dd></dd>
						<dt><var>$rule</var></dt>
						<dd></dd>
						<dt><var>$defaultValue</var></dt>
						<dd></dd>
					</dl></div>

					<h4>Returns</h4>
					<div class="list">
						mixed
					</div>




			</div>
			</div></td>
		</tr>
		<tr data-order="getQuery" id="_getQuery">

			<td class="attributes"><code>
				 public 
				mixed
				
				</code>
			</td>

			<td class="name"><div>
			<a class="anchor" href="#_getQuery">#</a>
			<code><a href="source-class-ManaPHP.Http.RequestInterface.html#62-71" title="Go to source code">getQuery</a>( <span>string <var>$name</var> = <span class="php-keyword1">null</span></span>, <span>string <var>$rule</var> = <span class="php-keyword1">null</span></span>, <span>mixed <var>$defaultValue</var> = <span class="php-keyword1">null</span></span> )</code>

			<div class="description short">
				<p>Gets variable from $_GET applying filters if needed</p>
			</div>

			<div class="description detailed hidden">
				<p>Gets variable from $_GET applying filters if needed</p>


					<h4>Parameters</h4>
					<div class="list"><dl>
						<dt><var>$name</var></dt>
						<dd></dd>
						<dt><var>$rule</var></dt>
						<dd></dd>
						<dt><var>$defaultValue</var></dt>
						<dd></dd>
					</dl></div>

					<h4>Returns</h4>
					<div class="list">
						mixed
					</div>




			</div>
			</div></td>
		</tr>
		<tr data-order="getServer" id="_getServer">

			<td class="attributes"><code>
				 public 
				mixed
				
				</code>
			</td>

			<td class="name"><div>
			<a class="anchor" href="#_getServer">#</a>
			<code><a href="source-class-ManaPHP.Http.RequestInterface.html#73-81" title="Go to source code">getServer</a>( <span>string <var>$name</var> = <span class="php-keyword1">null</span></span>, <span>mixed <var>$defaultValue</var> = <span class="php-keyword1">null</span></span> )</code>

			<div class="description short">
				<p>Gets variable from $_SERVER</p>
			</div>

			<div class="description detailed hidden">
				<p>Gets variable from $_SERVER</p>


					<h4>Parameters</h4>
					<div class="list"><dl>
						<dt><var>$name</var></dt>
						<dd></dd>
						<dt><var>$defaultValue</var></dt>
						<dd></dd>
					</dl></div>

					<h4>Returns</h4>
					<div class="list">
						mixed
					</div>




			</div>
			</div></td>
		</tr>
		<tr data-order="has" id="_has">

			<td class="attributes"><code>
				 public 
				boolean
				
				</code>
			</td>

			<td class="name"><div>
			<a class="anchor" href="#_has">#</a>
			<code><a href="source-class-ManaPHP.Http.RequestInterface.html#83-90" title="Go to source code">has</a>( <span>string <var>$name</var></span> )</code>

			<div class="description short">
				<p>Checks whether $_SERVER has certain index</p>
			</div>

			<div class="description detailed hidden">
				<p>Checks whether $_SERVER has certain index</p>


					<h4>Parameters</h4>
					<div class="list"><dl>
						<dt><var>$name</var></dt>
						<dd></dd>
					</dl></div>

					<h4>Returns</h4>
					<div class="list">
						boolean
					</div>




			</div>
			</div></td>
		</tr>
		<tr data-order="hasGet" id="_hasGet">

			<td class="attributes"><code>
				 public 
				boolean
				
				</code>
			</td>

			<td class="name"><div>
			<a class="anchor" href="#_hasGet">#</a>
			<code><a href="source-class-ManaPHP.Http.RequestInterface.html#92-99" title="Go to source code">hasGet</a>( <span>string <var>$name</var></span> )</code>

			<div class="description short">
				<p>Checks whether $_GET has certain index</p>
			</div>

			<div class="description detailed hidden">
				<p>Checks whether $_GET has certain index</p>


					<h4>Parameters</h4>
					<div class="list"><dl>
						<dt><var>$name</var></dt>
						<dd></dd>
					</dl></div>

					<h4>Returns</h4>
					<div class="list">
						boolean
					</div>




			</div>
			</div></td>
		</tr>
		<tr data-order="hasPost" id="_hasPost">

			<td class="attributes"><code>
				 public 
				boolean
				
				</code>
			</td>

			<td class="name"><div>
			<a class="anchor" href="#_hasPost">#</a>
			<code><a href="source-class-ManaPHP.Http.RequestInterface.html#101-108" title="Go to source code">hasPost</a>( <span>string <var>$name</var></span> )</code>

			<div class="description short">
				<p>Checks whether $_POST has certain index</p>
			</div>

			<div class="description detailed hidden">
				<p>Checks whether $_POST has certain index</p>


					<h4>Parameters</h4>
					<div class="list"><dl>
						<dt><var>$name</var></dt>
						<dd></dd>
					</dl></div>

					<h4>Returns</h4>
					<div class="list">
						boolean
					</div>




			</div>
			</div></td>
		</tr>
		<tr data-order="hasPut" id="_hasPut">

			<td class="attributes"><code>
				 public 
				boolean
				
				</code>
			</td>

			<td class="name"><div>
			<a class="anchor" href="#_hasPut">#</a>
			<code><a href="source-class-ManaPHP.Http.RequestInterface.html#110-117" title="Go to source code">hasPut</a>( <span>string <var>$name</var></span> )</code>

			<div class="description short">
				<p>Checks whether has certain index</p>
			</div>

			<div class="description detailed hidden">
				<p>Checks whether has certain index</p>


					<h4>Parameters</h4>
					<div class="list"><dl>
						<dt><var>$name</var></dt>
						<dd></dd>
					</dl></div>

					<h4>Returns</h4>
					<div class="list">
						boolean
					</div>




			</div>
			</div></td>
		</tr>
		<tr data-order="hasQuery" id="_hasQuery">

			<td class="attributes"><code>
				 public 
				boolean
				
				</code>
			</td>

			<td class="name"><div>
			<a class="anchor" href="#_hasQuery">#</a>
			<code><a href="source-class-ManaPHP.Http.RequestInterface.html#119-126" title="Go to source code">hasQuery</a>( <span>string <var>$name</var></span> )</code>

			<div class="description short">
				<p>Checks whether $_GET has certain index</p>
			</div>

			<div class="description detailed hidden">
				<p>Checks whether $_GET has certain index</p>


					<h4>Parameters</h4>
					<div class="list"><dl>
						<dt><var>$name</var></dt>
						<dd></dd>
					</dl></div>

					<h4>Returns</h4>
					<div class="list">
						boolean
					</div>




			</div>
			</div></td>
		</tr>
		<tr data-order="getMethod" id="_getMethod">

			<td class="attributes"><code>
				 public 
				string
				
				</code>
			</td>

			<td class="name"><div>
			<a class="anchor" href="#_getMethod">#</a>
			<code><a href="source-class-ManaPHP.Http.RequestInterface.html#128-131" title="Go to source code">getMethod</a>( )</code>

			<div class="description short">
				
			</div>

			<div class="description detailed hidden">
				



					<h4>Returns</h4>
					<div class="list">
						string
					</div>




			</div>
			</div></td>
		</tr>
		<tr data-order="hasServer" id="_hasServer">

			<td class="attributes"><code>
				 public 
				boolean
				
				</code>
			</td>

			<td class="name"><div>
			<a class="anchor" href="#_hasServer">#</a>
			<code><a href="source-class-ManaPHP.Http.RequestInterface.html#133-140" title="Go to source code">hasServer</a>( <span>string <var>$name</var></span> )</code>

			<div class="description short">
				<p>Checks whether $_GET has certain index</p>
			</div>

			<div class="description detailed hidden">
				<p>Checks whether $_GET has certain index</p>


					<h4>Parameters</h4>
					<div class="list"><dl>
						<dt><var>$name</var></dt>
						<dd></dd>
					</dl></div>

					<h4>Returns</h4>
					<div class="list">
						boolean
					</div>




			</div>
			</div></td>
		</tr>
		<tr data-order="getHeader" id="_getHeader">

			<td class="attributes"><code>
				 public 
				string|null
				
				</code>
			</td>

			<td class="name"><div>
			<a class="anchor" href="#_getHeader">#</a>
			<code><a href="source-class-ManaPHP.Http.RequestInterface.html#142-147" title="Go to source code">getHeader</a>( <span>string <var>$name</var></span> )</code>

			<div class="description short">
				
			</div>

			<div class="description detailed hidden">
				


					<h4>Parameters</h4>
					<div class="list"><dl>
						<dt><var>$name</var></dt>
						<dd></dd>
					</dl></div>

					<h4>Returns</h4>
					<div class="list">
						string|null
					</div>




			</div>
			</div></td>
		</tr>
		<tr data-order="getScheme" id="_getScheme">

			<td class="attributes"><code>
				 public 
				string
				
				</code>
			</td>

			<td class="name"><div>
			<a class="anchor" href="#_getScheme">#</a>
			<code><a href="source-class-ManaPHP.Http.RequestInterface.html#149-154" title="Go to source code">getScheme</a>( )</code>

			<div class="description short">
				<p>Gets HTTP schema (http/https)</p>
			</div>

			<div class="description detailed hidden">
				<p>Gets HTTP schema (http/https)</p>



					<h4>Returns</h4>
					<div class="list">
						string
					</div>




			</div>
			</div></td>
		</tr>
		<tr data-order="isAjax" id="_isAjax">

			<td class="attributes"><code>
				 public 
				boolean
				
				</code>
			</td>

			<td class="name"><div>
			<a class="anchor" href="#_isAjax">#</a>
			<code><a href="source-class-ManaPHP.Http.RequestInterface.html#156-161" title="Go to source code">isAjax</a>( )</code>

			<div class="description short">
				<p>Checks whether request has been made using ajax. Checks if $_SERVER['HTTP_X_REQUESTED_WITH']=='XMLHttpRequest'</p>
			</div>

			<div class="description detailed hidden">
				<p>Checks whether request has been made using ajax. Checks if $_SERVER['HTTP_X_REQUESTED_WITH']=='XMLHttpRequest'</p>



					<h4>Returns</h4>
					<div class="list">
						boolean
					</div>




			</div>
			</div></td>
		</tr>
		<tr data-order="getRawBody" id="_getRawBody">

			<td class="attributes"><code>
				 public 
				string
				
				</code>
			</td>

			<td class="name"><div>
			<a class="anchor" href="#_getRawBody">#</a>
			<code><a href="source-class-ManaPHP.Http.RequestInterface.html#163-168" title="Go to source code">getRawBody</a>( )</code>

			<div class="description short">
				<p>Gets HTTP raw request body</p>
			</div>

			<div class="description detailed hidden">
				<p>Gets HTTP raw request body</p>



					<h4>Returns</h4>
					<div class="list">
						string
					</div>




			</div>
			</div></td>
		</tr>
		<tr data-order="getJsonBody" id="_getJsonBody">

			<td class="attributes"><code>
				 public 
				array|stdClass
				
				</code>
			</td>

			<td class="name"><div>
			<a class="anchor" href="#_getJsonBody">#</a>
			<code><a href="source-class-ManaPHP.Http.RequestInterface.html#170-175" title="Go to source code">getJsonBody</a>( <span>boolean <var>$assoc</var> = <span class="php-keyword1">true</span></span> )</code>

			<div class="description short">
				
			</div>

			<div class="description detailed hidden">
				


					<h4>Parameters</h4>
					<div class="list"><dl>
						<dt><var>$assoc</var></dt>
						<dd></dd>
					</dl></div>

					<h4>Returns</h4>
					<div class="list">
						array|stdClass
					</div>




			</div>
			</div></td>
		</tr>
		<tr data-order="getClientAddress" id="_getClientAddress">

			<td class="attributes"><code>
				 public 
				string
				
				</code>
			</td>

			<td class="name"><div>
			<a class="anchor" href="#_getClientAddress">#</a>
			<code><a href="source-class-ManaPHP.Http.RequestInterface.html#177-182" title="Go to source code">getClientAddress</a>( )</code>

			<div class="description short">
				<p>Gets most possibly client IPv4 Address. This methods search in $_SERVER['REMOTE_ADDR'] and optionally in $_SERVER['HTTP_X_FORWARDED_FOR']</p>
			</div>

			<div class="description detailed hidden">
				<p>Gets most possibly client IPv4 Address. This methods search in $_SERVER['REMOTE_ADDR'] and optionally in $_SERVER['HTTP_X_FORWARDED_FOR']</p>



					<h4>Returns</h4>
					<div class="list">
						string
					</div>




			</div>
			</div></td>
		</tr>
		<tr data-order="setClientAddress" id="_setClientAddress">

			<td class="attributes"><code>
				 public 
				static
				
				</code>
			</td>

			<td class="name"><div>
			<a class="anchor" href="#_setClientAddress">#</a>
			<code><a href="source-class-ManaPHP.Http.RequestInterface.html#184-191" title="Go to source code">setClientAddress</a>( <span>string|callable <var>$address</var></span> )</code>

			<div class="description short">
				<p>set the client address for getClientAddress method</p>
			</div>

			<div class="description detailed hidden">
				<p>set the client address for getClientAddress method</p>


					<h4>Parameters</h4>
					<div class="list"><dl>
						<dt><var>$address</var></dt>
						<dd></dd>
					</dl></div>

					<h4>Returns</h4>
					<div class="list">
						static
					</div>




			</div>
			</div></td>
		</tr>
		<tr data-order="getUserAgent" id="_getUserAgent">

			<td class="attributes"><code>
				 public 
				string
				
				</code>
			</td>

			<td class="name"><div>
			<a class="anchor" href="#_getUserAgent">#</a>
			<code><a href="source-class-ManaPHP.Http.RequestInterface.html#193-198" title="Go to source code">getUserAgent</a>( )</code>

			<div class="description short">
				<p>Gets HTTP user agent used to made the request</p>
			</div>

			<div class="description detailed hidden">
				<p>Gets HTTP user agent used to made the request</p>



					<h4>Returns</h4>
					<div class="list">
						string
					</div>




			</div>
			</div></td>
		</tr>
		<tr data-order="isPost" id="_isPost">

			<td class="attributes"><code>
				 public 
				boolean
				
				</code>
			</td>

			<td class="name"><div>
			<a class="anchor" href="#_isPost">#</a>
			<code><a href="source-class-ManaPHP.Http.RequestInterface.html#200-205" title="Go to source code">isPost</a>( )</code>

			<div class="description short">
				<p>Checks whether HTTP method is POST. if $_SERVER['REQUEST_METHOD']=='POST'</p>
			</div>

			<div class="description detailed hidden">
				<p>Checks whether HTTP method is POST. if $_SERVER['REQUEST_METHOD']=='POST'</p>



					<h4>Returns</h4>
					<div class="list">
						boolean
					</div>




			</div>
			</div></td>
		</tr>
		<tr data-order="isGet" id="_isGet">

			<td class="attributes"><code>
				 public 
				boolean
				
				</code>
			</td>

			<td class="name"><div>
			<a class="anchor" href="#_isGet">#</a>
			<code><a href="source-class-ManaPHP.Http.RequestInterface.html#207-213" title="Go to source code">isGet</a>( )</code>

			<div class="description short">
				
			</div>

			<div class="description detailed hidden">
				<p>Checks whether HTTP method is GET. if $_SERVER['REQUEST_METHOD']=='GET'</p>



					<h4>Returns</h4>
					<div class="list">
						boolean
					</div>




			</div>
			</div></td>
		</tr>
		<tr data-order="isPut" id="_isPut">

			<td class="attributes"><code>
				 public 
				boolean
				
				</code>
			</td>

			<td class="name"><div>
			<a class="anchor" href="#_isPut">#</a>
			<code><a href="source-class-ManaPHP.Http.RequestInterface.html#215-220" title="Go to source code">isPut</a>( )</code>

			<div class="description short">
				<p>Checks whether HTTP method is PUT. if $_SERVER['REQUEST_METHOD']=='PUT'</p>
			</div>

			<div class="description detailed hidden">
				<p>Checks whether HTTP method is PUT. if $_SERVER['REQUEST_METHOD']=='PUT'</p>



					<h4>Returns</h4>
					<div class="list">
						boolean
					</div>




			</div>
			</div></td>
		</tr>
		<tr data-order="isHead" id="_isHead">

			<td class="attributes"><code>
				 public 
				boolean
				
				</code>
			</td>

			<td class="name"><div>
			<a class="anchor" href="#_isHead">#</a>
			<code><a href="source-class-ManaPHP.Http.RequestInterface.html#222-227" title="Go to source code">isHead</a>( )</code>

			<div class="description short">
				<p>Checks whether HTTP method is HEAD. if $_SERVER['REQUEST_METHOD']=='HEAD'</p>
			</div>

			<div class="description detailed hidden">
				<p>Checks whether HTTP method is HEAD. if $_SERVER['REQUEST_METHOD']=='HEAD'</p>



					<h4>Returns</h4>
					<div class="list">
						boolean
					</div>




			</div>
			</div></td>
		</tr>
		<tr data-order="isDelete" id="_isDelete">

			<td class="attributes"><code>
				 public 
				boolean
				
				</code>
			</td>

			<td class="name"><div>
			<a class="anchor" href="#_isDelete">#</a>
			<code><a href="source-class-ManaPHP.Http.RequestInterface.html#229-234" title="Go to source code">isDelete</a>( )</code>

			<div class="description short">
				<p>Checks whether HTTP method is DELETE. if $_SERVER['REQUEST_METHOD']=='DELETE'</p>
			</div>

			<div class="description detailed hidden">
				<p>Checks whether HTTP method is DELETE. if $_SERVER['REQUEST_METHOD']=='DELETE'</p>



					<h4>Returns</h4>
					<div class="list">
						boolean
					</div>




			</div>
			</div></td>
		</tr>
		<tr data-order="isOptions" id="_isOptions">

			<td class="attributes"><code>
				 public 
				boolean
				
				</code>
			</td>

			<td class="name"><div>
			<a class="anchor" href="#_isOptions">#</a>
			<code><a href="source-class-ManaPHP.Http.RequestInterface.html#236-241" title="Go to source code">isOptions</a>( )</code>

			<div class="description short">
				<p>Checks whether HTTP method is OPTIONS. if $_SERVER['REQUEST_METHOD']=='OPTIONS'</p>
			</div>

			<div class="description detailed hidden">
				<p>Checks whether HTTP method is OPTIONS. if $_SERVER['REQUEST_METHOD']=='OPTIONS'</p>



					<h4>Returns</h4>
					<div class="list">
						boolean
					</div>




			</div>
			</div></td>
		</tr>
		<tr data-order="isPatch" id="_isPatch">

			<td class="attributes"><code>
				 public 
				boolean
				
				</code>
			</td>

			<td class="name"><div>
			<a class="anchor" href="#_isPatch">#</a>
			<code><a href="source-class-ManaPHP.Http.RequestInterface.html#243-248" title="Go to source code">isPatch</a>( )</code>

			<div class="description short">
				<p>Checks whether HTTP method is PATCH. if $_SERVER['REQUEST_METHOD']=='PATCH'</p>
			</div>

			<div class="description detailed hidden">
				<p>Checks whether HTTP method is PATCH. if $_SERVER['REQUEST_METHOD']=='PATCH'</p>



					<h4>Returns</h4>
					<div class="list">
						boolean
					</div>




			</div>
			</div></td>
		</tr>
		<tr data-order="hasFiles" id="_hasFiles">

			<td class="attributes"><code>
				 public 
				boolean
				
				</code>
			</td>

			<td class="name"><div>
			<a class="anchor" href="#_hasFiles">#</a>
			<code><a href="source-class-ManaPHP.Http.RequestInterface.html#250-257" title="Go to source code">hasFiles</a>( <span>boolean <var>$onlySuccessful</var> = <span class="php-keyword1">false</span></span> )</code>

			<div class="description short">
				<p>Checks whether request include attached files</p>
			</div>

			<div class="description detailed hidden">
				<p>Checks whether request include attached files</p>


					<h4>Parameters</h4>
					<div class="list"><dl>
						<dt><var>$onlySuccessful</var></dt>
						<dd></dd>
					</dl></div>

					<h4>Returns</h4>
					<div class="list">
						boolean
					</div>




			</div>
			</div></td>
		</tr>
		<tr data-order="getFiles" id="_getFiles">

			<td class="attributes"><code>
				 public 
				<code><a href="class-ManaPHP.Http.Request.FileInterface.html">ManaPHP\Http\Request\FileInterface</a>[]</code>
				
				</code>
			</td>

			<td class="name"><div>
			<a class="anchor" href="#_getFiles">#</a>
			<code><a href="source-class-ManaPHP.Http.RequestInterface.html#259-266" title="Go to source code">getFiles</a>( <span>boolean <var>$onlySuccessful</var> = <span class="php-keyword1">false</span></span> )</code>

			<div class="description short">
				<p>Gets attached files as \ManaPHP\Http\Request\FileInterface compatible instances</p>
			</div>

			<div class="description detailed hidden">
				<p>Gets attached files as \ManaPHP\Http\Request\FileInterface compatible instances</p>


					<h4>Parameters</h4>
					<div class="list"><dl>
						<dt><var>$onlySuccessful</var></dt>
						<dd></dd>
					</dl></div>

					<h4>Returns</h4>
					<div class="list">
						<code><a href="class-ManaPHP.Http.Request.FileInterface.html">ManaPHP\Http\Request\FileInterface</a>[]</code>
					</div>




			</div>
			</div></td>
		</tr>
		<tr data-order="getReferer" id="_getReferer">

			<td class="attributes"><code>
				 public 
				string
				
				</code>
			</td>

			<td class="name"><div>
			<a class="anchor" href="#_getReferer">#</a>
			<code><a href="source-class-ManaPHP.Http.RequestInterface.html#268-273" title="Go to source code">getReferer</a>( )</code>

			<div class="description short">
				<p>Gets web page that refers active request. ie: http://www.google.com</p>
			</div>

			<div class="description detailed hidden">
				<p>Gets web page that refers active request. ie: http://www.google.com</p>



					<h4>Returns</h4>
					<div class="list">
						string
					</div>




			</div>
			</div></td>
		</tr>
		<tr data-order="getUrl" id="_getUrl">

			<td class="attributes"><code>
				 public 
				string
				
				</code>
			</td>

			<td class="name"><div>
			<a class="anchor" href="#_getUrl">#</a>
			<code><a href="source-class-ManaPHP.Http.RequestInterface.html#275-282" title="Go to source code">getUrl</a>( <span>boolean <var>$withQuery</var> = <span class="php-keyword1">false</span></span> )</code>

			<div class="description short">
				<p>http://localhost:8080/test/test.jsp</p>
			</div>

			<div class="description detailed hidden">
				<p>http://localhost:8080/test/test.jsp</p>


					<h4>Parameters</h4>
					<div class="list"><dl>
						<dt><var>$withQuery</var></dt>
						<dd></dd>
					</dl></div>

					<h4>Returns</h4>
					<div class="list">
						string
					</div>




			</div>
			</div></td>
		</tr>
		<tr data-order="getUri" id="_getUri">

			<td class="attributes"><code>
				 public 
				string
				
				</code>
			</td>

			<td class="name"><div>
			<a class="anchor" href="#_getUri">#</a>
			<code><a href="source-class-ManaPHP.Http.RequestInterface.html#284-290" title="Go to source code">getUri</a>( )</code>

			<div class="description short">
				<p>/test/test.jsp</p>
			</div>

			<div class="description detailed hidden">
				<p>/test/test.jsp</p>



					<h4>Returns</h4>
					<div class="list">
						string
					</div>




			</div>
			</div></td>
		</tr>
		<tr data-order="getAccessToken" id="_getAccessToken">

			<td class="attributes"><code>
				 public 
				string|null
				
				</code>
			</td>

			<td class="name"><div>
			<a class="anchor" href="#_getAccessToken">#</a>
			<code><a href="source-class-ManaPHP.Http.RequestInterface.html#292-295" title="Go to source code">getAccessToken</a>( )</code>

			<div class="description short">
				
			</div>

			<div class="description detailed hidden">
				



					<h4>Returns</h4>
					<div class="list">
						string|null
					</div>




			</div>
			</div></td>
		</tr>
			</table>
		</div>











</div>
	</div>

	<div id="footer">
		 API documentation generated by <a href="http://apigen.org">ApiGen</a>
	</div>
</div>
<script src="resources/combined.js"></script>
<script src="elementlist.js"></script>
</body>
</html>
